package com.bbs.service;

import java.util.List;

import com.bbs.pojo.User;

public interface UserService {

	// 用户注册
	public void regist(User user);
	//ajax
	public List<User> findUsername(String username);

	// 用户登录
	public User login(String username, String password);
	
}
